import request from '@/util/request'

export function listErpSiteRegionDevice(data) {
  return request({
    url: '/erp/site/region/device/list',
    method: 'post',
    data
  })
}


export function listWithByUserErpSiteRegionDevice(data) {
  return request({
    url: '/erp/site/region/device/listWithByUser',
    method: 'post',
    data
  })
}

export function pageGetErpSiteRegionDevice(data) {
  return request({
    url: '/erp/site/region/device/pageGet',
    method: 'post',
    data
  })
}

export function insertErpSiteRegionDevice(data) {
  return request({
    url: '/erp/site/region/device/insert',
    method: 'post',
    data
  })
}

export function updateErpSiteRegionDevice(data) {
  return request({
    url: '/erp/site/region/device/update',
    method: 'post',
    data
  })
}

export function deleteErpSiteRegionDevice(data) {
  return request({
    url: '/erp/site/region/device/delete',
    method: 'post',
    data
  })
}

export function getErpSiteRegionDevice(data) {
  return request({
    url: '/erp/site/region/device/get',
    method: 'post',
    data
  })
}

